= error_messages_for 'declaration'

//[form:declaration]

%p
  = label :declaration, :round_amount, 'Bedrag'
  %br
  = f.text_field :round_amount, {:size => 5, :maxlength => 5}
  ,
  = f.text_field :decimal_amount, {:size => 1, :maxlength => 2}

%p
  = label :declaration, :description, 'Omschrijving'
  %br
  = f.text_field :description

%div#declaration_payers
  %h2 Betalers:
  = f.render_associated_form(@declaration.declaration_payers)
  = f.render_associated_form(@declaration.empty_declaration_payers)

//[eoform:declaration]